home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Snippets / Development Tools & Languages / AEGestalt / UAEGestalt.h < prev    next >
Encoding:
Text File  |  1995-02-05  |  1.2 KB  |  67 lines  |  [TEXT/MPS ]

  1. //     UAEGestalt.h 
  2. //     Copyright © 1991-92 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TAEApplication class, the base application class
  5. //    for the AEGestalt application
  6. //
  7. //    <1>        khs        1.0        First final version
  8.  
  9.  
  10. // INCLUDE FILES
  11.  
  12. #ifndef __UAEGESTALT__
  13. #define __UAEGESTALT__
  14.  
  15. #ifndef __INCLUDEFILES__
  16. #include "IncludeFiles.h"
  17. #endif
  18.  
  19. #ifndef __ULABELVIEW__
  20. #include "ULabelView.h"
  21. #endif
  22.  
  23. #ifndef __UINFORMATIONVIEW__
  24. #include "UInformationView.h"
  25. #endif
  26.  
  27. #ifndef __UGRAYFILLADORNER__
  28. #include "UGrayfillAdorner.h"
  29. #endif
  30.  
  31. #ifndef __UAEDOCUMENT__
  32. #include "UAEDocument.h"
  33. #endif
  34.  
  35. #ifndef __UAESERVERCOMMAND__
  36. #include "UAEServerCommand.h"
  37. #endif
  38.  
  39. #ifndef __ABOUT__
  40. #include "About.h"
  41. #endif
  42.  
  43.  
  44. // TApplication 
  45.  
  46. DeclareClassDesc(TAEApplication);
  47.  
  48. class TAEApplication : public TApplication
  49. {
  50.  
  51.     DeclareClass(TAEApplication);
  52.  
  53. public:
  54.     TAEApplication();
  55.     virtual void IAEApplication(OSType fileType,
  56.                                        OSType creator);
  57.     virtual TDocument* DoMakeDocument(CommandNumber,
  58.                                              TFile*);
  59.     virtual void DoAppleCommand(CommandNumber aCommandNumber,
  60.                                        const AppleEvent& message,
  61.                                        const AppleEvent& reply);
  62.     virtual void DoAboutBox();
  63.  
  64. };
  65.  
  66. #endif
  67.